// import type { IForm } from '@/components/Form/types'
// import { rules } from '@/utils/validator'
export const modalConfig = {
  formItems: [
    {
      field: 'searchForm.outTradeNo',
      label: '交易编号',
      placeholder: '请输入交易编号',
      type: 'input'
    },
    {
      field: 'searchForm.consignee',
      type: 'input',
      label: '收货人',
      placeholder: '请输入收货人姓名'
    },
    {
      field: 'searchForm.consigneeTel',
      type: 'input',
      label: '收货人电话',
      placeholder: '请输入收货人电话'
    },
    {
      field: 'searchForm.deliveryAddress',
      type: 'input',
      label: '收货地址',
      placeholder: '请输入收货地址'
    },
    {
      field: 'searchForm.orderStatus',
      type: 'select',
      label: '订单状态',
      options: [
        { label: '已支付', value: 'PAID' },
        { label: '未支付', value: 'UNPAID' },
        { label: '支付', value: 'UNPAID' }
      ]
    },
    {
      field: 'searchForm.createTimeBegin',
      type: 'picker',
      label: '创建时间',
      placeholder: '创建时间'
    },
    {
      field: 'searchForm.createTimeEnd',
      type: 'picker',
      label: '过期时间',
      placeholder: '过期时间'
    }
  ]
}
